package com.rs.adminweb.commons.web;

import java.sql.Date;

import com.jaxplat.commons.entity.Entity;

public class FileUploadEntity extends Entity implements Cloneable
{
    private Long uploadId = null;

    private String system = null;

    private String module = null;

    private String busiType = null;

    private String busiTable = null;

    private String busiId = null;

    private String name = null;

    private String description = null;

    private Long fileSize = null;

    private String fileType = null;

    private String storageType = null;

    private String path = null;

    private String absolutePath = null;

    private Integer sequence = null;

    private Date uploadTime = null;

    private Long userId = null;

    private String userName = null;

    public FileUploadEntity()
    {
        super("PLAT_FILE_UPLOAD");
    }

    public Long getUploadId()
    {
        return this.uploadId;
    }

    public void setUploadId(Long uploadId)
    {
        this.uploadId = uploadId;
    }

    public String getSystem()
    {
        return this.system;
    }

    public void setSystem(String system)
    {
        this.system = system;
    }

    public String getModule()
    {
        return this.module;
    }

    public void setModule(String module)
    {
        this.module = module;
    }

    public String getBusiType()
    {
        return this.busiType;
    }

    public void setBusiType(String busiType)
    {
        this.busiType = busiType;
    }

    public String getBusiTable()
    {
        return this.busiTable;
    }

    public void setBusiTable(String busiTable)
    {
        this.busiTable = busiTable;
    }

    public String getBusiId()
    {
        return this.busiId;
    }

    public void setBusiId(String busiId)
    {
        this.busiId = busiId;
    }

    public String getName()
    {
        return this.name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getDescription()
    {
        return this.description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public Long getFileSize()
    {
        return this.fileSize;
    }

    public void setFileSize(Long fileSize)
    {
        this.fileSize = fileSize;
    }

    public String getStorageType()
    {
        return this.storageType;
    }

    public void setStorageType(String storageType)
    {
        this.storageType = storageType;
    }

    public String getPath()
    {
        return this.path;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public Integer getSequence()
    {
        return this.sequence;
    }

    public void setSequence(Integer sequence)
    {
        this.sequence = sequence;
    }

    public Date getUploadTime()
    {
        return this.uploadTime;
    }

    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }

    public Long getUserId()
    {
        return this.userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public String getUserName()
    {
        return this.userName;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getFileType()
    {
        return this.fileType;
    }

    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getAbsolutePath()
    {
        return this.absolutePath;
    }

    public void setAbsolutePath(String absolutePath)
    {
        this.absolutePath = absolutePath;
    }

    public Object getPkValue()
    {
        return this.uploadId;
    }

    protected Object clone()
    {
        Object obj = null;
        try
        {
            obj = super.clone();
        }
        catch (CloneNotSupportedException e)
        {
            e.printStackTrace();
        }
        return obj;
    }

    public String toString()
    {
        StringBuffer buffer = new StringBuffer();
        buffer.append("\n uploadId = " + this.uploadId);
        buffer.append("\n system = " + this.system);
        buffer.append("\n module = " + this.module);
        buffer.append("\n busiType = " + this.busiType);
        buffer.append("\n busiTable = " + this.busiTable);
        buffer.append("\n busiId = " + this.busiId);
        buffer.append("\n name = " + this.name);
        buffer.append("\n description = " + this.description);
        buffer.append("\n fileSize = " + this.fileSize);
        buffer.append("\n storageType = " + this.storageType);
        buffer.append("\n path = " + this.path);
        buffer.append("\n sequence = " + this.sequence);
        buffer.append("\n uploadTime = " + this.uploadTime);
        buffer.append("\n userId = " + this.userId);
        buffer.append("\n userName = " + this.userName);

        return buffer.toString();
    }
}